{% extends "base.html" %}
{% import "_my_wtf_macros.html" as my_wtf_macros %}

{% block title %}万屏时代OPC--套餐编辑{% endblock %}

{% block panel_heading %}
  万屏时代OPC--套餐编辑
{% endblock %}

{% block panel_body %}
    <form class="form form-inline form-group-sm" id="edit-price-pack-set-form" action="{{ url_for('op_bp.price_pack_set_edit', pack_id=price_pack_set.id) }}" method="post" role="form">

      <div class="well well-sm">套餐信息</div>
        {{ my_wtf_macros.form_field(form.name, div_col=4, label_col=4, field_col=7) }}
        {{ my_wtf_macros.form_field(form.ori_price, div_col=4, label_col=4, field_col=7) }}
        {{ my_wtf_macros.form_field(form.price, div_col=4, label_col=4, field_col=7) }}
        {{ my_wtf_macros.form_field(form.bid_point, div_col=4, label_col=4, field_col=7) }}
        {{ my_wtf_macros.form_field(form.gift_bid_point, div_col=4, label_col=4, field_col=7) }}
        {{ my_wtf_macros.form_field(form.tag, div_col=4, label_col=4, field_col=7) }}
        <div class="clearfix visible-xs-block visible-sm-block visible-md-block visible-lg-block"></div>

      <div class="form-group col-xs-12">
        <button type="submit" name="submit" class="btn btn-success pull-right">保存</button>
      </div>
    </form>

{% endblock %}

{% block scripts %}
{{ super() }}
{% endblock %}
